<?php


$connect = @mysql_connect("localhost","root","");
if(!$connect){

die('could not connect :' .mysql_error());

}

mysql_select_db('book_market') or die ('not found');

?>
